package org.jeecg.modules.travel.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.travel.dto.slideshow.SlideshowAddDto;
import org.jeecg.modules.travel.dto.slideshow.SlideshowAuthDto;
import org.jeecg.modules.travel.dto.slideshow.SlideshowEditDto;
import org.jeecg.modules.travel.entity.JhSlideshow;
import org.jeecg.modules.travel.vo.slideshow.AppSlideshowRecordVo;
import org.jeecg.modules.travel.vo.slideshow.PcSlideshowRecordVo;

import java.util.List;

public interface IJhSlideshowService extends IService<JhSlideshow> {
    /**
     * pc端幻灯片放映分页查询
     * @param page 分页
     * @param queryWrapper 条件
     * @return {@code IPage<PcSlideshowRecordVo> }
     * @author wentao.wang
     * @date 2025-04-27 22:11:18
     */
    IPage<PcSlideshowRecordVo> queryPage(Page<JhSlideshow> page, QueryWrapper<JhSlideshow> queryWrapper);

    /**
     * 添加
     * @param dto 参数
     * @return {@code String }
     * @author wentao.wang
     * @date 2025-04-27 22:23:08
     */
    String slideshowAdd(SlideshowAddDto dto);

    /**
     * 编辑
     * @param dto 参数
     * @return {@code String }
     * @author wentao.wang
     * @date 2025-04-27 22:26:06
     */
    String slideshowEdit(SlideshowEditDto dto);

    /**
     * 审核
     * @param dto 参数
     * @param userId 用户id
     * @return {@code String }
     * @author wentao.wang
     * @date 2025-04-27 22:32:13
     */
    String slideshowAuth(SlideshowAuthDto dto, String userId);

    /**
     * 移动端列表
     * @param queryWrapper 查询条件
     * @return {@code IPage<AppSlideshowRecordVo> }
     * @author wentao.wang
     * @date 2025-04-27 22:42:57
     */
    IPage<AppSlideshowRecordVo> appQueryList(Page<JhSlideshow> page, QueryWrapper<JhSlideshow> queryWrapper);

}
